{
 "cells": [
  {
   "cell_type": "markdown",
   "source": [
    "# 文件过大\n",
    "报错信息为：\n",
    "\n",
    "```\n",
    "remote: error: File: 6cd15db710e091aa9f573696748223dd9f113320 152.37 MB, exceeds 100.00 MB.\n",
    "remote: error: File: 6cd15db710e091aa9f573696748223dd9f113320 152.37 MB, exceeds 100.00 MB.\n",
    "remote: Use command below to see the filename:\n",
    "remote: git rev-list --objects --all | grep 6cd15db710e091aa9f573696748223dd9f113320\n",
    "remote: Please remove the file from history and try again. (https://gitee.com/help/articles/4232)\n",
    "```\n",
    "原因：\n",
    "文件太大了，虽然删除了但是还是保存在历史记录中，因此需要修改历史记录\n",
    "\n",
    "解决方法：点击提供的网址\n",
    "```\n",
    "git filter-branch --tree-filter 'rm -f [path to your file]' --tag-name-filter cat -- --all\n",
    "git push origin --tags --force\n",
    "git push origin --all --force\n",
    "```\n",
    "\n"
   ],
   "metadata": {}
  }
 ],
 "metadata": {
  "orig_nbformat": 4,
  "language_info": {
   "name": "python"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}